package com.shanhai.wallpapers.network.response

import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.parcelize.Parcelize

data class WallpapersResponse(
    val photos: List<Photo>?,
    @SerializedName("next_page") val nextPage: String?
)

@Parcelize
data class Photo(
    val id: Int?,
    val width: Int?,
    val height: Int?,
    @SerializedName("avg_color") val avgColor: String?,
    @SerializedName("src") val source: Source?
) : Parcelable

@Parcelize
data class Source(
    val original: String?,
    val large2x: String?,
    val large: String?
) : Parcelable